home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / pcboard / bcmx120.zip / RAND.DOC < prev    next >
Text File  |  1994-05-07  |  1KB  |  25 lines

  1.  
  2. RAND.PPE
  3.  
  4. This is a handy utility I created to be able to randomize display files.
  5. I've made most menus/display files randomizable (as far as it seemed usefull
  6. to me) through some .CFG file. If you still want some other display file 
  7. to select multiple (random) display files you can use this utility.
  8. It accepts two parameters:
  9.  
  10. 1 - The base name without a number (ie. BASE)
  11. 2 - The number of files to choose from (ie. 2).
  12.  
  13. The ppe chooses a random number between 1 and the second parameter and then
  14. displays the file 'BASE<NUMBER>', where <NUMBER> is the random chosen number.
  15.  
  16. For example if you have created some extra (lets say 2) directory files (dir1
  17. and dir2) for the dos matrix and want the matrix to display one randomly each
  18. time just replace GRAPH\DIR with '!<PATH1>\RAND.PPE <PATH2>\DIR 2' (where PATH1 
  19. is the directory where RAND.PPE is and PATH2 the directory where DIR1 and DIR2
  20. are).
  21.  
  22. If the display file (with number appended) is not found the RAND.PPE directory 
  23. is searched for the file, so you can put all the files in the same dir as 
  24. RAND.PPE.
  25.